package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Activitydetailsrecord implements Serializable {
    private String adrno;

    private String bno;

    private String arno;

    private String adrdate;

    private String adrnumber;

    private String adrdescribe;

    private Integer adrstate;

    private static final long serialVersionUID = 1L;

    public String getAdrno() {
        return adrno;
    }

    public void setAdrno(String adrno) {
        this.adrno = adrno;
    }

    public String getBno() {
        return bno;
    }

    public void setBno(String bno) {
        this.bno = bno;
    }

    public String getArno() {
        return arno;
    }

    public void setArno(String arno) {
        this.arno = arno;
    }

    public String getAdrdate() {
        return adrdate;
    }

    public void setAdrdate(String adrdate) {
        this.adrdate = adrdate;
    }

    public String getAdrnumber() {
        return adrnumber;
    }

    public void setAdrnumber(String adrnumber) {
        this.adrnumber = adrnumber;
    }

    public String getAdrdescribe() {
        return adrdescribe;
    }

    public void setAdrdescribe(String adrdescribe) {
        this.adrdescribe = adrdescribe;
    }

    public Integer getAdrstate() {
        return adrstate;
    }

    public void setAdrstate(Integer adrstate) {
        this.adrstate = adrstate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Activitydetailsrecord other = (Activitydetailsrecord) that;
        return (this.getAdrno() == null ? other.getAdrno() == null : this.getAdrno().equals(other.getAdrno()))
            && (this.getBno() == null ? other.getBno() == null : this.getBno().equals(other.getBno()))
            && (this.getArno() == null ? other.getArno() == null : this.getArno().equals(other.getArno()))
            && (this.getAdrdate() == null ? other.getAdrdate() == null : this.getAdrdate().equals(other.getAdrdate()))
            && (this.getAdrnumber() == null ? other.getAdrnumber() == null : this.getAdrnumber().equals(other.getAdrnumber()))
            && (this.getAdrdescribe() == null ? other.getAdrdescribe() == null : this.getAdrdescribe().equals(other.getAdrdescribe()))
            && (this.getAdrstate() == null ? other.getAdrstate() == null : this.getAdrstate().equals(other.getAdrstate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getAdrno() == null) ? 0 : getAdrno().hashCode());
        result = prime * result + ((getBno() == null) ? 0 : getBno().hashCode());
        result = prime * result + ((getArno() == null) ? 0 : getArno().hashCode());
        result = prime * result + ((getAdrdate() == null) ? 0 : getAdrdate().hashCode());
        result = prime * result + ((getAdrnumber() == null) ? 0 : getAdrnumber().hashCode());
        result = prime * result + ((getAdrdescribe() == null) ? 0 : getAdrdescribe().hashCode());
        result = prime * result + ((getAdrstate() == null) ? 0 : getAdrstate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", adrno=").append(adrno);
        sb.append(", bno=").append(bno);
        sb.append(", arno=").append(arno);
        sb.append(", adrdate=").append(adrdate);
        sb.append(", adrnumber=").append(adrnumber);
        sb.append(", adrdescribe=").append(adrdescribe);
        sb.append(", adrstate=").append(adrstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}